<template>
  <div class="openPlat">
    openPlat
  </div>
</template>

<script>
  export default{
    data(){
      return{

      }
    },
    mounted(){
      let that=this;
      that.getOpenPlat();
    },
    methods:{
      getOpenPlat(){
        this.$request.post(
             "/passport/openPlatform",
             {
                redirect:"http://xzw.jsqigua.cn/" 
             },
             {
                'Content-Type': 'application/x-www-form-urlencoded'
             }
           ).then((res)=>{
           console.log("开放平台请求成功：",res);
           //that.is_Show_nickname=false;
           //that.getU_Info();
         

          })
          .catch((err)=>{
           console.log("开放平台请求失败：",err);
          });

      }
    }
  }
</script>

<style lang="less" scoped="scoped">

</style>
